<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <style>
        html {
            font-size: 20px !important;
        }

        .aui-title {
            color: #303030 !important;
            width: 12rem !important;
            font-size: 0.8rem !important;
            text-align: center !important;
            margin-left: -1rem !important;
        }

        .aui-title span:nth-child(2) {
            color: #f0f0f0 !important;
        }

        .aui-title span:first-child {
            margin-right: 2rem;
        }

        .aui-title span:last-child {
            margin-left: 2rem;
        }

        .tab_active {
            color: #FD6150 !important;
        }
    </style>
</head>

<body>
    <header class="aui-bar aui-bar-nav aui-bar-light hd">
        <a id="back" class="aui-pull-left aui-btn">
            <img src="../image/icon_back.png" style="width: 0.45rem;height: 0.8rem;margin-left: 0.7rem;" alt="">
        </a>
        <div class="aui-title">
            <span class="tab_active" onclick="qieTab(this,0)">个人医案</span> <span>|</span> <span
                onclick="qieTab(this,1)">医案夹</span>
        </div>

        <!--        <a class="aui-pull-right aui-btn">
            <img class="icon_img" src="../image/icon_share.png" />
        </a>-->
    </header>



</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/zepto.min.js"></script>
<script type="text/javascript" src="../script/hb.js"></script>
<script type="text/javascript" src="../script/vue.js"></script>
<script type="text/javascript">
    apiready = function () {
        hb_ready()
        hb_openframeby_auto('person_consilia_frm', api.pageParam)



    };
    //个人医案和医案夹的tab切换
    function qieTab(obj, index) {
        $('.tab_active').removeClass('tab_active');
        $(obj).addClass('tab_active')
        // 发送frm区分的标识
        api.sendEvent({
            name: 'qieTab',
            extra: {
                val: index
            }
        });
    }
</script>

</html>